package flow;

import java.util.Random;

public class ForDemo {
    public static void main(String[] args) {
        int t = -1, r;
        char c;
        Random random = new Random();
        for(int i = 0; i < 25; i ++) {
            r = random.nextInt(100);
            if(r > t)
                c = '>';
            else if(r < t)
                c = '<';
            else
                c = '=';
            System.out.printf("%d - %d %c %d\n", i, r, c, t);
            t = r;
        }
    }
}
